using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Responses.Objects;
namespace NewFormatProject.Server.Instances.Extends.Entitys
{
	public static class UserRightsExtend
{
		public static ResponseUserRightsDto ToResponseDto(this UserRights entity)
{			return new ResponseUserRightsDto
			{
				id = entity.UrId,
				rightId = entity.UrRightId,
				userId = entity.UrUserId,
			};
		}
	}
}
